Automattic\Jetpack\Sync\Modules\Comments S

Total Complexity 46
Dependencies 4
Dependents 0
Total lines 480
Lines of code 199
Logical lines of code 105
Comment lines 232
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
only_allow_white_listed_comment_types()
S
59 5 15
handle_comment_contents_modification()
S
57 4 18
init_listeners()
S
48 3 32
init_before_send()
S
58 3 16
filter_meta()
S
70 3 6
get_object_by_id()
S
64 3 10
filter_blacklisted_post_types()
S
66 3 8
filter_comment()
S
62 2 11
expand_comment_ids()
S
59 1 16
only_allow_white_listed_comment_type_transitions()
S
68 2 7
is_comment_type_allowed()
S
68 2 7
estimate_full_sync_actions()
S
63 2 10
get_where_sql()
S
69 2 6
get_whitelisted_comment_types()
S
71 1 6
id_field()
S
82 1 3
enqueue_full_sync_actions()
S
74 1 4
get_full_sync_actions()
S
81 1 3
count_full_sync_actions()
S
79 1 3
expand_wp_comment_status_change()
S
78 1 3
expand_wp_insert_comment()
S
78 1 3
init_full_sync_listeners()
S
80 1 3
is_whitelisted_comment_meta()
S
78 1 3
table_name()
S
82 1 3
name()
S
82 1 3